﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MedicalLog.Domain.Entities.Doctor>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="header">
        <h2>Eliminar doctor <%=Model.Name%>?</h2>
    </div>
    <div class="main">
    <fieldset class="main-style">
        <table>
            <tbody>
                <tr>
                    <td class="display-label">
                        Id:
                    </td>
                    <td class="display-field">
                        <%: Model.IdDoctor %>
                    </td>        
                </tr>
                <tr>
                    <td class="display-label">
                        Nombre:
                    </td>
                    <td class="display-field">
                        <%: Model.Name %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        Apellido:
                    </td>
                    <td class="display-field">
                        <%: Model.LastName %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        Tel&eacute;fono:
                    </td>
                    <td class="display-field">
                        <%: Model.Telephone %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        Celular :
                    </td>
                    <td class="display-field">
                        <%: Model.Celphone %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        Direcci&oacute;n:
                    </td>
                    <td class="display-field">
                        <%: Model.Address %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        E-mail:
                    </td>
                    <td class="display-field">
                        <%: Model.Email %>
                    </td>
                </tr>
                <tr>
                    <td class="display-label">
                        Usuario:
                    </td>
                    <td class="display-field">
                        <%: Model.Username %>
                    </td>
                </tr>
            </tbody>
        </table>
    </fieldset>
    </div>
    <div class="footer">
    <h4>
        Acciones
    </h4>
    <% using (Html.BeginForm()) { %>
        <div>
            <%= Html.HiddenFor(x => x.IdDoctor) %>
            <%= Html.HiddenFor(x => x.Name) %>
            <%= Html.HiddenFor(x => x.LastName) %>
            <%= Html.HiddenFor(x => x.Telephone) %>
            <%= Html.HiddenFor(x => x.Username) %>
            <%= Html.HiddenFor(x => x.Passsword) %>
            <%= Html.HiddenFor(x => x.Email) %>
            <%= Html.HiddenFor(x => x.Celphone) %>
            <%= Html.HiddenFor(x => x.Address) %>
        </div>
        <fieldset class="main-style2">
            <p>
		        <input type="submit" value="Delete" />
            </p>
        <%: Html.ActionLink("Regresar a la página principal", "SearchPatient", "Patient")%>
        </fieldset>
    <% } %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

